/* 
 * File:   AngleUnitParameterMemento.h
 * Author: Gab'z
 *
 * Created on 29 mai 2012, 10:57
 */

#ifndef ANGLEUNITPARAMETERMEMENTO_H
#define	ANGLEUNITPARAMETERMEMENTO_H

#include "Memento.h"
#include "../parameters/Parameters.h"

namespace calculator {
    class UndoableRedoableCommand;

    class AngleUnitParameterMemento : public Memento {
        friend class DegreeParameterCommand;
        friend class RadianParameterCommand;
        
    public:
        AngleUnitParameterMemento(
                UndoableRedoableCommand* undoableRedoableCommand,
                Parameters::AngleUnit angleUnit);
        virtual ~AngleUnitParameterMemento();
    private:
        Parameters::AngleUnit _angleUnit;
        
        AngleUnitParameterMemento(const AngleUnitParameterMemento& orig);
    };
}

#endif	/* ANGLEUNITPARAMETERMEMENTO_H */

